<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="app">

</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript">
    var app = new Vue({
        el: '#app',
        data: {
            message: 'Hello Vue!',
        },
        beforeCreate: function(){
            console.log("beforeCreate!");
        },
        created:function(){
            console.log("created!");
        },
        beforeMount: function(){
            console.log("beforeMount!");
        },
        mounted:function(){
            console.log("mounted!");
        },
        beforeUpdate:function(){
            console.log("beforeUpdate!");
        },
        updated:function(){
            console.log("updated!");
        },
        beforeDestroy:function(){
            console.log("beforeDestroy!");
        },
        destroyed:function(){
            console.log("destroyed!");
        },
    });
</script>
</body>
</html>
